﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebSite.admin.login" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>后台登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
    <link href="main.css" rel="stylesheet" type="text/css" />

</head>
<body style=" background-image:url('/cn/images/contentBg.jpg');">
<center>
<form id="form1" runat="server">
 
  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

  <tr>
    <td align="center" valign="middle">
    
    <table width="710px" height="311"  style=" background-image:url('images/login_bg.jpg')" cellpadding="5" cellspacing="1" >
        <tr>
          <td align="left" valign="top" ><table width="100%" style="margin-top:130px; margin-left:18px;" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="130" style="padding-left:35px"> <asp:TextBox ID="txtName" runat="server" style="border:0;"   Width="130px"></asp:TextBox></td>
                <td width="120" style="padding-left:50px"> 
                <asp:TextBox ID="txtPwd" runat="server" style="border:0;" TextMode="Password" Width="120px"></asp:TextBox></td>
                <td width="50" style="padding-left:64px"> 
                                                    <asp:TextBox ID="txtCheckCode" runat="server" style="border:0;" Width="50px"></asp:TextBox>

                                                       </td>
                <td width="100" style="padding-left:12px; "> 
                <asp:Image ID="Image1" runat="server" Height="22px"  alt="看不清，换一张" onclick="this.src = this.src + '?' + new Date().getTime();"  ImageUrl="~/admin/CheckCode.aspx" Width="68px" />
                    &nbsp;</td>
                <td align="left" valign="top"  style="padding-left:20px">
                  
                    <asp:Button ID="Button1" runat="server" Height="60px" Text=""  style="background-color:transparent; border:0;" 
                        Width="70px" onclick="Button1_Click1" />

                  
                 </td>
              </tr>
              <tr> 
                <td style="padding-left:35px; padding-top:30px;" colspan="5"> 
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                        ErrorMessage="账号不能为空！"></asp:RequiredFieldValidator>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
                        ErrorMessage="密码不能为空！"> </asp:RequiredFieldValidator>

                           <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtCheckCode"
                        ErrorMessage="验证码不能为空！">  </asp:RequiredFieldValidator>
                </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>



</form>

</center>
</body>
</html>
